# !/usr/bin/env python
# coding: utf-8
# @Time   : 2023/2/9 21:12
# @Author : 梁灿

import os, sys
sys.path.append((os.path.abspath(os.path.join(os.path.dirname(__file__), '../../'))))

from page.basepage import BasePage
from common.readelement import Element1


group = Element1('group')  # 获取group.yml
print(group['点击组团管理'])


class GroupPage(BasePage):
    """组团管理"""

    def click_group(self):
        self.is_click(group['点击组团管理'])

    def click_add(self):
        self.is_click(group['点击新增组团'])

    def input_season(self, content):
        self.input_text(group['选择赛季'], content)

    def input_sport(self, content):
        self.input_text(group['选择运动'], content)

    def input_factory(self, content):
        self.input_text(group['选择厂商'], content)

    def input_series(self, content):
        self.input_text(group['选择系列'], content)




